import mitt from 'mitt'
import router from './router/index'
import { createApp } from 'vue'
import App from './App.vue'
const bus=new mitt()
const app=createApp(App)
app.config.globalProperties.$bus=bus
app.use(router)
app.mount('#app')